package com.itheima.dao;

import com.itheima.domain.Student;

import java.util.ArrayList;

public interface IStudentDao {
    int getindex(String id);
    void addStudent(Student stu);
    ArrayList<Student>findAllStudent();
    void updateStudent(String id,Student newstu);
    void deleteStudent(String id);
    ArrayList<Student>findStuByName(String name);
    Student findStuByPhone(String phone);


}
